<template>
  <succeed :resultObj="resultObj"></succeed>
</template>

<script>
  import Succeed from '../../components/Succeed'
  export default {
    data(){
      return {
        resultObj:{
          title:'操作成功',
          description: '报警成功，民警即将出警。',
          icon: 'success',//warn、info、waiting、success
          buttons: [
            {
              type: 'primary',
              text: '确定',
              onClick: this.change.bind(this)
            }
          ]
        }
      }
    },
    methods: {
      change () {
        this.$router.push({path: '/'})
      }
    },
    components:{
      Succeed
    }
  }
</script>
